home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-10-05 | 3.8 KB | 58 lines | [TEXT/MPS ] |
- This is a collection of a number of useful scripts and tools that I've
- developed over the last year. A brief summary follows:
-
- :Scripts:
- CommentLine # comments out a line of text in a language sensitive manner
- Forget # delete a "Remembered" file (see Remember)
- InsertFile # read a text file into the current window's selection/insertion point
- NewClose # modified Close command with support for "Remember" (see Remember)
- NewNew # modified New command with support for "Remember" (see Remember)
- NewOpen # modified Open command with support for "Remember" and automatic file backup creation
- NewOpenSelection # modified OpenSelection command with support for "Remember", automatic file backup
- # creation, and file searching
- NewSave # modified Save command with support for "Remember" (see Remember)
- NewTarget # modified Target command with support for "Remember" (see Remember)
- OpenStatus # tests if the specified file is already open
- RestoreFiles # used with "Remember" to restore a previous version of a file
- RestorePosition # restore a file location saved previously with SavePosition
- ToggleColumnClipboard # toggle the display of the column edit mode clipboard (see ColumnEdit …)
- ToggleRemember # enable or disable Remember (see Remember)
- ToggleSelectionMarker # alternately drops a position marker (if one does not already exist), or highlights the text
- # from the current insertion point to the saved position marker
-
- :Tools:
- ColumnEditTool # dialog-based tool for performing column-mode (rectangular) editing
- ColumnShiftTool # column-mode text shifting tool (start column is selection istart column,
- # NOT the left margin
- FAccess # tool to get or set most of the FAccess values
- FilePos # display the current file position to the right of the window's DoIt box (MPW 3.2 and up)
- GetInfo # display info on the current window (size, project status , etc).
- InfoLine # display text the right of the window's DoIt box (MPW 3.2 and up)
- MenuTextTool # hack to permit renaming of menu items (to permit toggling of EnableXXX to DisableXXX, etc).
- NewFindTool # dialog-based replacement for Find which remembers previous search strings
- NewGetFile # replacement GetFile dialog with filename extension filtering and additional file info.
- NewReplaceTool # dialog-based replacement for Replace which remembers previous search and replace strings
- # double clicking a string from the list enters it in the appropriate text edit box, if
- # shift is held down it allows entering a saved find string into replace and vice-versa
- Pairs # tool to search c program for unmatched brace,comment, etc. pairs, starting from the current
- # insertion point
- ParseFileName # parse a filename to seperate the name from the path, etc.
- ReadOnlyStatus # tool to test if a file is modifiable (not locked, read-only, Projector, etc).
- Remember # tool to periodically (via a QuickKey or similar) save the current window to a
- # sequentially numbered backup file.
- ScrollTool # tool to force scrolling of a window (needed by several scripts to work around MPW window
- # updating and related problems)
-
- UserStartup•Extras # place in your MPW folder to setup the various scripts and tools
-
- For optimum use of the various NewFind, NewOpen, etc. commands I've modified my MPW shell to remove the
- command key equivalents for the built-in commands, and the UserStartup•Extras assigns the standard command
- keys to the NewXXX commands. If you do this you might want to use QuickKeys (or SetKey in the MPW 3.3 alpha
- versions available on ETO) to assign command-option-whatever to the builtin commands. In addition, the standard
- MPW scripts that use New, Open, target, etc. can be modified to use NewNew, etc.
-
- Given demand, the source code may be made available on a shareware basis.
-
- Brian Clark
- CompuServe 71241,2407
-